package com.markerhub.mapper;
//2、mapper类创建
import com.markerhub.entity.Address;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
//import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 */
//@Repository：代表持久层
//在对应的mapper上继承基本的类 BaseMapper
public interface AddressMapper extends BaseMapper<Address> {
                                                //泛型里对应mapper的实体类
    //所有的CRUD操作已经编写完成了
    //不用与mybatis一样重新配置xml映射

}
